﻿using System;

namespace DesignPattern
{
    class Singleton
    {
        private static Singleton s_instance;

        public static Singleton Instance {
            get {
                return s_instance == null ? s_instance = new Singleton() : s_instance;
            }
        }
    }
}
